<template>
    <div class="header">
        <router-link to="/">
            <div class="iconfont">&#xe624;</div>
        </router-link>
        城市选择
    </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style scoped>
.header{
    position: relative;
    height: 40px;
    line-height: 40px;
    text-align: center;
    overflow: hidden;
    font-size: 17px;
    background: rgb(192, 141, 250);
    color: #fff;
    display: block;
}

.iconfont{
    position: absolute;
    top: 0;
    left: 0px;
    width: 40px;
    /* text-align: center; */
    color: #fff;
}

</style>
